.btn-group {
  > .btn:not(:last-child):not(.dropdown-toggle),
  > .btn-group:not(:last-child) > .btn {
    @include border-left-radius(0);
  }

  > .btn:not(:first-child),
  > .btn-group:not(:first-child) > .btn {
    @include border-right-radius(0);
  }

  > .btn:first-child {
    @include border-right-radius($btn-border-radius);
  }

  > .btn:last-child {
    @include border-left-radius($btn-border-radius);
  }
}